<?php
/**
 * Created by PhpStorm.
 * User: rocky
 * Date: 2019-07-14
 * Time: 01:24
 */

namespace app\shop\resource;

use app\common\resource\BaseResource;

class StoreResoure extends BaseResource
{
    public function toArray($data)
    {
        return [
            'id' => $data['id'],
            'name' => $data['name'],
            'lat' => $data['lat'],
            'lng' => $data['lng'],
            'full_address' => $data['full_address']
        ];
    }

}